package com.wpen.unit.cvt.job;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.job.po.TaskExecLogPo;
import com.wpen.unit.infra.mybatis.job.po.TaskExecRedologPo;
import com.wpen.unit.web.dto.job.TaskExecLogListRequest;
import com.wpen.unit.web.dto.job.TaskExecLogListResponse;
import com.wpen.unit.web.dto.job.TaskExecLogListRowsResponse;

/**
 * 任务执行日志转换类
 * 
 * @author Wang Peng
 * @date 2022-12-12
 *
 */
@Mapper
public interface TaskExecLogCvt {
    TaskExecLogCvt INSTANCE = Mappers.getMapper(TaskExecLogCvt.class);

    TaskExecLogPo queryListDto2Do(TaskExecLogListRequest taskExecLogListRequest);

    TaskExecLogListResponse queryListDo2Dto(TaskExecLogPo taskExecLogPo);

    TaskExecLogListRowsResponse queryListRowDo2Dto(TaskExecLogPo taskExecLogPo);

    TaskExecRedologPo queryDo2RodeDo(TaskExecLogPo taskExecLogPo);
}
